
struct CoreOrderBean{
	1: required i64 orderid,
	2: required i64 visitid,
}

exception NotFoundError {
    1: required string msg,
}

service CoreOrderServer{

	CoreOrderBean getOrderBeanById(
		1:required i64 orderid,
	)throws (
        1: NotFoundError notFound,
    )
	
	bool insertOrder(
		1:required CoreOrderBean orderbean,
	)throws (
        1: NotFoundError notFound,
    )
	bool deleteOrder(
		1:required i64 orderid,
	)throws (
        1: NotFoundError notFound,
    )
    
    list<CoreOrderBean> getOrderBeanList(
    	1:required i64 starttime,
    	2:required i64 endtime,
    )throws (
        1: NotFoundError notFound,
    )

    bool postfile(
        1:required binary file,
    )
}